package com.example.K501;


/**
 * The Account class contains all the relevant data associated with a specific account created by a user of the 501k app.
 * @author WaltonWellness
 *
 */

public class Account 
{
	/**
	 * The complete first and last name of the user
	 */
	private String name;
	
	/**
	 * For the purpose of the app, the username is their primary e-mail address
	 */
	private String username;
	/**
	 * The password for the account.
	 */
	private String password;
	//other account settings here
	
	/**
	 * @param n the name associated with the account
	 * @param u the username/email for the account
	 * @param p the password for the account
	 */
	public Account(String n, String u, String p)
	{
		name = n;
		username = u;
		password = p;
	}

	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
}
